package com.parktech.sun.domain.service.news;

import com.parktech.sun.domain.model.news.News;
import com.parktech.sun.domain.repository.Page;
import com.parktech.sun.domain.service.BaseService;

import java.util.List;

/**
 * User: Think
 * Date: 11-1-12
 * Time: 下午5:07
 */
public interface NewsService extends BaseService<News> {

    Page<News> search(String title, Integer category, Integer publishStatus, Page page);

    Page pageBy(Integer categoryId, Page page);

    List<News> listTop4ImageNews();

    List<News> listTop7NormalNews();
}
